<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf - 8">
        <meta name="viewport" content ="initial-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    </head>
    <title></title>
    <script src="C:/Users/24098/Desktop/978-7-302-48199-7《HTML5 App应用开发教程》教辅/配套资源包/chapter06/scripts/jquery-3.1.1.min.js">

    </script>
    <style>
        img{
            
            width: 180px;
            height:90px;
        }
    </style>
<body>
<div id = "mydiv">
    <img src="C:/Users/24098/Desktop/978-7-302-48199-7《HTML5 App应用开发教程》教辅/配套资源包/chapter06/img/deck_rj.png">
    <img src="C:/Users/24098/Desktop/978-7-302-48199-7《HTML5 App应用开发教程》教辅/配套资源包/chapter06/img/deck_rk.png">
    <img src="C:/Users/24098/Desktop/978-7-302-48199-7《HTML5 App应用开发教程》教辅/配套资源包/chapter06/img/deck_rq.png">
</div>
<script>
    $(function(){
    $("img").each(function(index){
        alert(this.src);
        if(index!=1)
        {
            this.src="C:/Users/24098/Desktop/978-7-302-48199-7《HTML5 App应用开发教程》教辅/配套资源包/chapter06/img/deck_rq.png"
        }
    });
});
</script>
</body>
    </html>
